package com.ruoyi.system.domain;


import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 sys_account
 *
 * @author ruoyi
 * @date 2021-11-18
 */
public class SysAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer accountId;

    /** 小程序标识 */
    @Excel(name = "小程序标识")
    private String accountOpenid;

    /** 密码 */
    @Excel(name = "密码")
    private String accountPassword;

    /** 电话 */
    @Excel(name = "电话")
    private String accountPhone;

    /** 工作地区 */
    @Excel(name = "工作地区")
    private String accountWorkaddress;

    /** 角色 */
    @Excel(name = "角色")
    private String accountRolename;

    /** 姓名 */
    @Excel(name = "姓名")
    private String accountName;

    /** 状态 */
    @Excel(name = "状态")
    private String accountStatus;

    private SysNumber sysNumber;
    private SysUser sysUser;

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public SysNumber getSysNumber() {
        return sysNumber;
    }

    public void setSysNumber(SysNumber sysNumber) {
        this.sysNumber = sysNumber;
    }

    public void setAccountId(Integer accountId)
    {
        this.accountId = accountId;
    }

    public Integer getAccountId()
    {
        return accountId;
    }
    public void setAccountOpenid(String accountOpenid)
    {
        this.accountOpenid = accountOpenid;
    }

    public String getAccountOpenid()
    {
        return accountOpenid;
    }
    public void setAccountPassword(String accountPassword)
    {
        this.accountPassword = accountPassword;
    }

    public String getAccountPassword()
    {
        return accountPassword;
    }
    public void setAccountPhone(String accountPhone)
    {
        this.accountPhone = accountPhone;
    }

    public String getAccountPhone()
    {
        return accountPhone;
    }
    public void setAccountWorkaddress(String accountWorkaddress)
    {
        this.accountWorkaddress = accountWorkaddress;
    }

    public String getAccountWorkaddress()
    {
        return accountWorkaddress;
    }
    public void setAccountRolename(String accountRolename)
    {
        this.accountRolename = accountRolename;
    }

    public String getAccountRolename()
    {
        return accountRolename;
    }
    public void setAccountName(String accountName)
    {
        this.accountName = accountName;
    }

    public String getAccountName()
    {
        return accountName;
    }
    public void setAccountStatus(String accountStatus)
    {
        this.accountStatus = accountStatus;
    }

    public String getAccountStatus()
    {
        return accountStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("accountId", getAccountId())
                .append("accountOpenid", getAccountOpenid())
                .append("accountPassword", getAccountPassword())
                .append("accountPhone", getAccountPhone())
                .append("accountWorkaddress", getAccountWorkaddress())
                .append("accountRolename", getAccountRolename())
                .append("accountName", getAccountName())
                .append("accountStatus", getAccountStatus())
                .toString();
    }
}